#define _CRT_SECURE_NO_WARNINGS 1


#include"RBTree.h"

int main()
{
	int arr[] = { 18,10,30,6,15,25,40,5,7,14,16 };
	RBTree<int, int> tree;
	for (auto& e : arr)
	{
		tree.Insert({ e, e });
	}
	cout << tree.Find(30) << endl;
	cout << tree.Find(300) << endl;
	tree.InOrder();
	cout << tree.IsBalance() << endl;

	return 0;
}